package com.olive.service;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @Description: 自定义消息通道
 */
public interface MessageSource {

    //channel名称
    String OUTPUT = "myOutput";

    @Output(MessageSource.OUTPUT)
    MessageChannel output();
}
